package com.charley.icloud.service.impl;

import com.charley.icloud.entity.SysLogEntity;
import com.charley.icloud.mapper.MySqlLogMapper;
import com.charley.icloud.service.LogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 日志接口实现
 *
 * @author charley
 * @date 2024-04-16 14:47
 * */
@Service
public class LogServiceImpl implements LogService {

    @Resource
    private MySqlLogMapper logMapper;

    @Override
    public Integer insert(SysLogEntity log) {
        return logMapper.insert(log);
    }
}
